package response.message;

import entity.Message;
import enums.ResponseType;
import response.Response;

import java.util.List;

public class MessagePullResponse extends Response {
    private List<Message> messageList;

    public MessagePullResponse(List<Message> messageList) {
        super(ResponseType.MessagePull);
        this.messageList = messageList;
    }

    public List<Message> getMessageList() {
        return messageList;
    }
}
